$(document).ready(function () {
	$('input#tf_quantity').keyup(function () {
		money_pay();	
	});	

	$('a#a_signin').click(function () {
		$('div#div_askmember').html('');
		$('div#div_signin').fadeIn('slow');	
	});	
});

function money_pay() {
	var quantity = $('input#tf_quantity').val();
	var price = $('span#sp_price_discount').html();
	$('span#sp_money_pay').html(price*quantity);
	$('input#h_money_pay').val(price*quantity);
}

includeJS($base_url+'js/ajax/order.js');